﻿using System;

namespace IMaverick.Physics.Extensions
{
    public static partial class DoubleExtensions
    {
        public static PhysicalValue<AngularVelocity> deg_s(this Double operand)
        {
            return new PhysicalValue<AngularVelocity>(operand, AngularVelocity.DegreePerSecond);
        }
        public static PhysicalValue<AngularVelocity> rad_s(this Double operand)
        {
            return new PhysicalValue<AngularVelocity>(operand, AngularVelocity.RadianPerSecond);
        }
        public static PhysicalValue<AngularVelocity> rpm(this Double operand)
        {
            return new PhysicalValue<AngularVelocity>(operand, AngularVelocity.RotationsPerMinute);
        }
        public static PhysicalValue<AngularVelocity> rps(this Double operand)
        {
            return new PhysicalValue<AngularVelocity>(operand, AngularVelocity.RotationsPerSecond);
        }
    }
}
